bitkeeper revision 1.1159.1.394 (4190a152C0zjusRSriDG4srGifYk1A)
authorcl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Tue, 9 Nov 2004 10:52:02 +0000 (10:52 +0000)
committercl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Tue, 9 Nov 2004 10:52:02 +0000 (10:52 +0000)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xen.bk-smp
into freefall.cl.cam.ac.uk:/local/scratch/cl349/xen.bk-smp

1  2 
.rootkeys
xen/arch/x86/traps.c
xen/arch/x86/x86_32/seg_fixup.c
xen/include/asm-x86/x86_32/current.h
xen/include/public/dom0_ops.h
xen/include/xen/sched.h

diff --cc .rootkeys
Simple merge
index 53906b5d3d4ce0c366185a075ac8b5349e942623,b15939d6cfa789fc77649e9b5740af96428b00a6..6164b15177f225953662eacd005fa31836d21137
@@@ -374,10 -382,10 +383,10 @@@ asmlinkage void do_page_fault(struct xe
              return; /* successfully copied the mapping */
      }
  
-     if ( unlikely(!(regs->xcs & 3)) )
+     if ( unlikely(!(regs->cs & 3)) )
          goto xen_fault;
  
 -    ti = d->thread.traps + 14;
 +    ti = ed->thread.traps + 14;
      gtb->flags = GTBF_TRAP_CR2; /* page fault pushes %cr2 */
      gtb->cr2        = addr;
      gtb->error_code = error_code;
      if ( likely((fixup = search_exception_table(regs->eip)) != 0) )
      {
          perfc_incrc(copy_user_faults);
 -        if ( !d->mm.shadow_mode )
 +        if ( !ed->mm.shadow_mode )
              DPRINTK("Page fault: %08lx -> %08lx\n", regs->eip, fixup);
          regs->eip = fixup;
-         regs->xds = regs->xes = regs->xfs = regs->xgs = __HYPERVISOR_DS;
          return;
      }
  
Simple merge
Simple merge
Simple merge
Simple merge